package com.pi.pro.xcmg.am.was.web.monitor.controller;


import com.pi.framework.core.controller.BaseCrudController;
import com.pi.framework.core.service.ICrudService;
import com.pi.pro.xcmg.am.was.fac.service.StorageViewService;
import com.pi.wms.entity.TwmBasLocation;
import com.pi.wms.service.LocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;


@Controller
@RequestMapping("/inventory/storagemap")
public class StoragemapController extends BaseCrudController<TwmBasLocation,Long> {

	public static final int MINUTES = 60;

	@Autowired
	private LocationService locationService;

	@Autowired
	private StorageViewService storageViewService;
	
	protected String getPrefix() {
		return "storagemap";
	}
	
	@Override
	protected TwmBasLocation newModel(HttpServletRequest request) {
		return null;
	}

	@Override
	protected ICrudService<TwmBasLocation, Long> getCrudService() {
		return this.locationService;
	}


}
